package com.angel.dao.health;

import com.angel.core.base.BaseMapper;
import com.angel.health.BuzSurvey;
import com.angel.health.BuzSurveyExample;
import com.angel.health.ln.ChartMap;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BuzSurveyMapper extends BaseMapper<BuzSurvey>{
    int countByExample(BuzSurveyExample example);

    int deleteByExample(BuzSurveyExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BuzSurvey record);

    List<BuzSurvey> selectByExampleWithBLOBs(BuzSurveyExample example);

    List<BuzSurvey> selectByExample(BuzSurveyExample example);

    BuzSurvey selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzSurvey record, @Param("example") BuzSurveyExample example);

    int updateByExampleWithBLOBs(@Param("record") BuzSurvey record, @Param("example") BuzSurveyExample example);

    int updateByExample(@Param("record") BuzSurvey record, @Param("example") BuzSurveyExample example);

    int updateByPrimaryKeyWithBLOBs(BuzSurvey record);

    int updateByPrimaryKey(BuzSurvey record);
    
    BuzSurvey findByCustomerId(String id);
    
    List<ChartMap> loadChart();
    
}